<!--#include("header.html")-->
<load target="../../widget/tpl/js/widget_admin.js" usecdn="true" />

<div id="content" class="cleared">
    <div cond="$XE_VALIDATOR_MESSAGE" class="xe-ui-message {$XE_VALIDATOR_MESSAGE_TYPE} gradient cleared">
        <a href="#" style="float: right;" onclick="jQuery(this).parent().remove();return false;" class="xe-ui-button-gray gradient">Dismiss</a>
        <p>{$XE_VALIDATOR_MESSAGE}</p>
    </div>
    <div class="xe-ui-panel">
        <div class="xe-ui-panel-content">
            <form ruleset="insertConfig" action="./" method="post" class="form">
                <input type="hidden" name="act" value="procZend_searchAdminInsertConfig" />
                <input type="hidden" name="module" value="admin" />
                <input type="hidden" name="target_module_srl" id="target_module_srl" value="{$config->target_module_srl}" />
                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="xe-ui-form-table">
                    <!--@if (isset($reindexed) && $reindexed)-->
                    <tr>
                        <td colspan="2">
                            <p>Reindexation successful.</p>
                        </td>
                    </tr>
                    <!--@endif-->
                    <tr>
                        <td class="v-top">
                            <p>{$lang->search_lucene}</p>
                        </td>
                        <td>
                            <input type="checkbox" name="lucene_search" id="lucene_search" value="{$config->lucene_search ? $config->lucene_search : 'Y'}" {$config->lucene_search == 'Y' ? 'checked' : ''}>
                            <p class="desc">{$lang->about_search_lucene}</p>
                        </td>
                    </tr>
                </table>
            </form>
        </div>
        <div class="xe-ui-panel-controller">
            <hr />
            <p class="center">
                <a href="#" onclick="jQuery('.form').submit(); return false;" class="xe-ui-button-gray">{$lang->cmd_submit}</a>
            </p>
        </div>
    </div>
</div>